package com.zzsoft;

import com.zzsoft.nettysocket.Server;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 *Springboot启动入口
 * @author zhanghb
 * @date 2019/09/08
 */
@ComponentScan(basePackages = "com.zzsoft.*")
@SpringBootApplication
@EnableScheduling
public class ScheduledDemoApplication {

	public static void main(String[] args) {
		SpringApplication.run(ScheduledDemoApplication.class, args);
		Server.run();
	}

}
